gridpack::component::BaseBusComponent Class Reference
#include <base_component.hpp>
List of all members.
Constructor & Destructor Documentation
gridpack::component::BaseBusComponent::BaseBusComponent |
( |
void |
|
) |
|
virtual gridpack::component::BaseBusComponent::~BaseBusComponent |
( |
void |
|
) |
[virtual] |
Member Function Documentation
void gridpack::component::BaseBusComponent::addBranch |
( |
const boost::shared_ptr< BaseComponent > & |
branch |
) |
|
Add a pointer to the list of branches that a bus is connected to
- Parameters:
-
| branch | pointer to a branch that is connected to bus |
void gridpack::component::BaseBusComponent::addBus |
( |
const boost::shared_ptr< BaseComponent > & |
bus |
) |
|
Add a pointer to the list of buses that a bus is connected to via a branch
- Parameters:
-
| bus | pointer to a bus that is connected to bus via a branch |
void gridpack::component::BaseBusComponent::clearBranches |
( |
void |
|
) |
|
Clear all pointers to neighboring branches
void gridpack::component::BaseBusComponent::clearBuses |
( |
void |
|
) |
|
Clear all pointers to neighboring buses
int gridpack::component::BaseBusComponent::getGlobalIndex |
( |
void |
|
) |
const |
Get global index
- Returns:
- global index from network
void gridpack::component::BaseBusComponent::getNeighborBranches |
( |
std::vector< boost::shared_ptr< BaseComponent > > & |
nghbrs |
) |
const |
Get pointers to branches that are connected to bus
- Parameters:
-
| nghbrs | list of pointers to neighboring branches |
void gridpack::component::BaseBusComponent::getNeighborBuses |
( |
std::vector< boost::shared_ptr< BaseComponent > > & |
nghbrs |
) |
const |
Get pointers to buses that are connected to calling bus via a branch
- Parameters:
-
| nghbrs | list of pointers to neighboring buses |
int gridpack::component::BaseBusComponent::getOriginalIndex |
( |
void |
|
) |
const |
Get original index
- Returns:
- original index from network
bool gridpack::component::BaseBusComponent::getReferenceBus |
( |
void |
|
) |
const |
Get reference bus status
- Returns:
- true if bus is reference bus, false otherwise
void gridpack::component::BaseBusComponent::setGlobalIndex |
( |
int |
idx |
) |
|
Set global index
- Parameters:
-
void gridpack::component::BaseBusComponent::setOriginalIndex |
( |
int |
idx |
) |
|
Set original index (from input file)
- Parameters:
-
void gridpack::component::BaseBusComponent::setReferenceBus |
( |
bool |
status |
) |
|
Set reference bus status
- Parameters:
-
| status | reference bus status |
The documentation for this class was generated from the following file: